import http from "@/utils/http.js";

// 会员管理：添加申请
export function addMemberApply(data) {
	return http.post('/member/add/noAuth', data)
}

// 会员管理：删除
export function delMember(data) {
	return http.post('/member/del', data)
}

// 会员管理：通过主键查询
export function getMemberByKey(params) {
	return http.get('/member/getByKey/noAuth', params)
}

// 分页查询
export function getMemberPage(params) {
	return http.get('/member/getPage/noAuth', params)
}

// 会员管理：审核
export function auditMember(data) {
	return http.post('/member/audit', data)
}
